/*
 * Objekt, um die Kategorie eines Feeds abzubilden
 * Klasse ist ein reines POJO - besteht also nur aus Konstruktoren, Settern und Gettern der Attribute
 */

package com.objects;

import java.io.Serializable;

/**
 *
 * @author admin
 */
public class category implements Serializable{

    //ID der Kategorie
    private int Categoryid;
    //Name der Kategorie
    private String Categoryname;

    public category(int categoryid,String categoryname)
    {
        this.setCategoryid(categoryid);
        this.setCategoryname(categoryname);
    }

    public category(String categoryname)
    {
        
        this.setCategoryname(categoryname);
    }

    public category() {

    }

    /**
     * @return the Categoryid
     */
    public int getCategoryid() {
        return Categoryid;
    }

    /**
     * @param Categoryid the Categoryid to set
     */
    public void setCategoryid(int Categoryid) {
        this.Categoryid = Categoryid;
    }

    /**
     * @return the Categoryname
     */
    public String getCategoryname() {
        return Categoryname;
    }

    /**
     * @param Categoryname the Categoryname to set
     */
    public void setCategoryname(String Categoryname) {
        this.Categoryname = Categoryname;
    }


}
